var vm = new Vue({
    el:'#section',
    data:{
        currentIndex: 0,
        list:[
            { pic:'',name:'综合排序' },
            { pic:'',name:'距离最近' },
            { pic:'',name:'销量最高' },
            { pic:'',name:'筛选' },
        ],
            
    },
    methods:{
        handleClick(index){
            this.currentIndex = index;
        }
    }
})
var um = new Vue({
    el:'#app',
    data:{
        arr: ["年货节热卖","津贴联盟","满减优惠","品质联盟"]
    }
})
var un = new Vue({
    el:'#shop',
    data:{
        shopArr:[
            {pic:'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg3.winshang.com%2FUpload%2Fbrand%2F2017%2F2%2F22%2F131322198148028389.png&refer=http%3A%2F%2Fimg3.winshang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1668095199&t=dfd561a9e80cb557123401e9ebc023e6',name:'金百万烤鸭',star:'4.3',sales:'1663',qs:'15',moveMoney:'3',time:'30',distance:'4.6'},
            {pic:'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fbkimg.cdn.bcebos.com%2Fpic%2Fd8f9d72a6059252d13f2a9843d9b033b5ab5b94d&refer=http%3A%2F%2Fbkimg.cdn.bcebos.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1668095310&t=0d57c04bc9787589cbffdf0380afc7eb',name:'稻香金源饺子馆',star:'4.4',sales:'221',qs:'20',moveMoney:'3',time:'40',distance:'2.1'},
            {pic:'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fbkimg.cdn.bcebos.com%2Fpic%2Fd8f9d72a6059252d13f2a9843d9b033b5ab5b94d&refer=http%3A%2F%2Fbkimg.cdn.bcebos.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1668095310&t=0d57c04bc9787589cbffdf0380afc7eb',name:'稻香金源饺子馆',star:'4.4',sales:'221',qs:'20',moveMoney:'3',time:'40',distance:'2.1'},
            {pic:'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fbkimg.cdn.bcebos.com%2Fpic%2Fd8f9d72a6059252d13f2a9843d9b033b5ab5b94d&refer=http%3A%2F%2Fbkimg.cdn.bcebos.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1668095310&t=0d57c04bc9787589cbffdf0380afc7eb',name:'稻香金源饺子馆',star:'4.4',sales:'221',qs:'20',moveMoney:'3',time:'40',distance:'2.1'},
        ]
    }
})
var vm = new Vue({
    el:'#apps',
    data:{
        currentIndex: 0,
        alist:[
            {name:'首页' },
            {name:'订单' },
            {name:'我的' },
        ]
    },
    methods:{
        handleClick(index){
            this.currentIndex = index;
        }
    }
})
